﻿capital = 124

2000.1.1 = {
	if = {
		limit = { has_dlc = "No Step Back" }

		set_oob = "SLV_2000_nsb"
		else = {
			set_oob = "SLV_2000_nonnsb"
		}
	}
	if = {
		limit = { has_dlc = "By Blood Alone" }
		set_air_oob = "SLV_2000_bba"
		else = {
			set_air_oob = "SLV_2000_nonbba"
		}
	}

	set_cosmetic_tag = SLV
	set_country_flag = dynamic_flag
	set_country_flag = dynamic_rebel_flag
	#Parties
	set_country_flag = SLV_Modern_Centre_Party
	set_country_flag = SLV_Liberal_Democracy_of_Slovenia
	set_country_flag = SLV_Initiative_for_Democratic_Socialism
	set_country_flag = SLV_Neutral_green_party
	set_variable = { gdp_per_capita = 26.277 }




	add_ideas = {
		#Economic Cycle
		stable_growth
		#Corruption
		widespread_corruption
		#Faction 1
		industrial_conglomerates
		#Faction 2
		landowners
		#Faction 3
		small_medium_business_owners

		#Bureacracy
		bureau_02
		#Military Spending
		defence_01
		#Internal Security
		police_03
		#Education budget
		edu_04
		#Health budget
		health_05
		#Social spending
		social_05

		#Trade Law
		export_economy
		#Conscription Law
		draft_army
		#Women in the military
		volunteer_women
		#Foreign Intervention Law

		#Officer Training
		officer_military_school
		nuclear_energy

		#Other
		pluralist
		western_country
		large_far_right_movement
	}

	set_variable = { industrial_conglomerates_opinion = 60 }
	set_variable = { landowners_opinion = 60 }
	set_variable = { small_medium_business_owners = 75 }

	set_technology = {
		integrated_transportation_system = 1
		post_conventional_rail = 1
		early_freight_locomotive = 1


		armoured_mass_assault = 1

		infantry_weapons = 1
		infantry_weapons1 = 1
		infantry_weapons2 = 1
		support_weapons = 1
		support_weapons2 = 1
		tandem_charge_warheads = 1
		squad_automatic_weapon = 1

		command_control_equipment = 1

		Anti_tank_0 = 1

		Heavy_Anti_tank_0 = 1

		combat_eng_equipment = 1

		util_vehicle_0 = 1
		util_vehicle_1 = 1

		night_vision_1 = 1

		body_armor_1980 = 1

		basic_computing = 1
		integrated_circuit = 1
		computing1 = 1
		decryption1 = 1
		encryption1 = 1
		microprocessors = 1
		computing2 = 1
		decryption2 = 1
		encryption2 = 1

		radar = 1
		internet1 = 1
		internet2 = 1
		gprs = 1

		industrial_electrospun_polymeric_nanofibers = 1
		multiwalled_carbon_nanotubes = 1
		stereolitography = 1
		early_3D_printers = 1
		DNA_fingerprinting = 1
		fuel_refining = 1
		fuel_refining2 = 1
		energy_efficiency = 1
		energy_efficiency2 = 1
		fuel_efficiency = 1
		early_renewables = 1
		renewables = 1
		electrification_1 = 1
		construction1 = 1
		stronghold_building_1 = 1
		land_fort_building_1 = 1
		construction2 = 1
	}
	if = {
		limit = { has_dlc = "No Step Back" }


		set_technology = {
			mbt_tech_ops = 1
			mbt_tech = 1
			early_cold_war_ammo = 1
			defensive_systems = 1
			nsb_gun_technology_1 = 1
			nsb_artillery_ammo_1 = 1
			nsb_special_ammo_0 = 1
			nsb_AA_autocannon_0 = 1
			nsb_SHORAD_missile_0 = 1
			mbt_tech_1 = 1
			defensive_systems_2 = 1
			nsb_gun_technology_2 = 1
			nsb_artillery_ammo_2 = 1
			nsb_special_ammo_1 = 1
			nsb_AA_autocannon_1 = 1
			nsb_SHORAD_missile_1 = 1
			tank_components_tech = 1
			tank_components_tech_2 = 1
			small_medium_gun_tech = 1
			medium_gun_tech = 1
			medium_gun_tech_2 = 1
			armor_tech = 1
			armor_tech_2 = 1
			era_tech = 1
			diesel_engine_tech = 1
			diesel_engine_tech_2 = 1


			nsb_artillery_0 = 1

			nsb_Anti_Air_0 = 1

			mbt_tech = 1
			early_cold_war_ammo = 1
			defensive_systems = 1
			nsb_gun_technology_1 = 1
			nsb_artillery_ammo_1 = 1
			nsb_special_ammo_0 = 1
			nsb_AA_autocannon_0 = 1
			nsb_SHORAD_missile_0 = 1
		}

		create_equipment_variant = {
			name = "Valuk"
			type = medium_tank_amphibious_chassis_1
			parent_version = 1
			modules = {
				main_armament_slot = afv_machine_gun_2
				reload_type_slot = automatic_loading
				ammunition_load_slot = machine_gun_ammo_1
				turret_type_slot = tank_base_tank_turret
				suspension_type_slot = tank_torsion_bar_suspension_medium
				armor_type_slot = tank_steel_armor_gen2
				engine_type_slot = tank_diesel_engine_gen2
				special_type_slot_1 = afv_troop_capacity
				special_type_slot_2 = afv_reverse_doors
				special_type_slot_4 = tank_battlestation_2
			}
			upgrades = {
				tank_nsb_armor_upgrade = 3
			}
			icon = "gfx/interface/technologies/SLV/LAND/Valuk.dds"
		}

		create_equipment_variant = {
			name = "M-55S"
			type = medium_tank_chassis_0
			parent_version = 0
			modules = {
				main_armament_slot = tank_small_medium_cannon_2
				ammunition_load_slot = mixed_main_ammo_2
				turret_type_slot = tank_soviet_turret
				suspension_type_slot = tank_torsion_bar_suspension_medium
				armor_type_slot = tank_steel_armor_gen2
				engine_type_slot = tank_diesel_engine_gen2
				reload_type_slot = manual_loading
				special_type_slot_1 = empty
				special_type_slot_2 = smoke_launchers_2
				special_type_slot_4 = tank_battlestation_2
				special_type_slot_6 = reactive_armor_gen1
			}
			upgrades = {
				tank_nsb_armor_upgrade = 4
			}
			obsolete = yes
			icon = "gfx/interface/technologies/SLV/LAND/M55S.dds"
			model = "SOV_T55A_entity"
		}

		complete_special_project = sp:sp_armoured_vehicle_project

		else = {
			set_technology = {
				MBT_1 = 1
				MBT_2 = 1
				Early_APC = 1
				IFV_1 = 1
				IFV_2 = 1
				APC_1 = 1
				APC_2 = 1
				APC_3 = 1
				APC_4 = 1
				SP_arty_0 = 1
				artillery_0 = 1
				SP_R_arty_0 = 1
				Anti_Air_0 = 1
			}
		}
	}

	#Influence system
	init_influence = yes
	set_variable = { domestic_influence_amount = 80 }
	add_to_array = { influence_array = AUS.id }
	add_to_array = { influence_array_val = 20 }
	add_to_array = { influence_array = ITA.id }
	add_to_array = { influence_array_val = 30 }
	add_to_array = { influence_array = GER.id }
	add_to_array = { influence_array_val = 10 }
	add_to_array = { influence_array = CRO.id }
	add_to_array = { influence_array_val = 9 }
	add_to_array = { influence_array = SER.id }
	add_to_array = { influence_array_val = 5 }
	startup_influence = yes

	### Economy
	set_variable = { var = debt value = 11.762 }
	set_variable = { var = treasury value = 5 }
	set_variable = { var = corporate_tax_rate value = 19 }
	set_variable = { var = population_tax_rate value = 42 }
	set_variable = { var = int_investments value = 0 }

	set_popularities = {
		democratic = 82.7
		communism = 9.0
		fascism = 0.0
		neutrality = 3.9
		nationalist = 4.4
	}
	set_politics = {
		ruling_party = democratic
		last_election = "1996.9.14"
		election_frequency = 48
		elections_allowed = yes
	}

	### Election Threshold
	set_variable = { election_threshold = 0.04 }

	start_politics_input = yes

	### Party Popularities
	set_variable = { party_pop_array^0 = 0 } #Western_Autocracy
	set_variable = { party_pop_array^1 = 0.254 } #conservatism
	set_variable = { party_pop_array^2 = 0.422 } #liberalism
	set_variable = { party_pop_array^3 = 0.151 } #socialism
	set_variable = { party_pop_array^4 = 0.02 } #Communist-State
	set_variable = { party_pop_array^5 = 0.06 } #anarchist_communism
	set_variable = { party_pop_array^6 = 0.01 } #Conservative
	set_variable = { party_pop_array^7 = 0 } #Autocracy
	set_variable = { party_pop_array^8 = 0 } #Mod_Vilayat_e_Faqih
	set_variable = { party_pop_array^9 = 0 } #Vilayat_e_Faqih
	set_variable = { party_pop_array^10 = 0 } #Kingdom
	set_variable = { party_pop_array^11 = 0 } #Caliphate
	set_variable = { party_pop_array^12 = 0 } #Neutral_Muslim_Brotherhood
	set_variable = { party_pop_array^13 = 0 } #Neutral_Autocracy
	set_variable = { party_pop_array^14 = 0.01 } #Neutral_conservatism
	set_variable = { party_pop_array^15 = 0 } #oligarchism
	set_variable = { party_pop_array^16 = 0.01 } #Neutral_Libertarian
	set_variable = { party_pop_array^17 = 0.009 } #Neutral_green
	set_variable = { party_pop_array^18 = 0.01 } #neutral_Social
	set_variable = { party_pop_array^19 = 0 } #Neutral_Communism
	set_variable = { party_pop_array^20 = 0.044 } #Nat_Populism
	set_variable = { party_pop_array^21 = 0 } #Nat_Fascism
	set_variable = { party_pop_array^22 = 0 } #Nat_Autocracy
	set_variable = { party_pop_array^23 = 0 } #Monarchist

	### Ruling Party
	add_to_array = { ruling_party = 2 }

	startup_politics = yes

	create_country_leader = {
		name = "Janez Drnovšek"
		picture = "SLV_Janez_Drnovšek.dds"
		ideology = liberalism
		traits = {
			western_liberalism
		}
	}
	#Can be relevent
	# create_country_leader = {
	# 	name = "Milan Kučan"
	# 	picture = "milan_kucan.dds"
	# 	ideology = liberalism
	# 	traits = {
	# 		western_liberalism
	# 	}
	# }
	set_variable = { term_limit = 2 }
	set_variable = { current_term = 2 }
	every_controlled_state = {
		set_variable = { productivity_state_var = 827 }
	}
	set_variable = { overall_productivity = 827 }

	recruit_character = SLV_iztok_podbregar
	recruit_character = SLV_ladislav_lipic
	recruit_character = SLV_albin_gutman
	recruit_character = SLV_janez_gaube
}